import request from '@/utils/request';
// 广告配置列表
//module：1pc 2mob  status：1线上 0线下
export const bannerListApi = (params: object) =>
  request.post('/dev-api/api/ManagerBanner/list', params);
// 新增修改banner
export const updateBackendApi = (params: object) =>
  request.post('/dev-api/api/ManagerBanner/saveBanner', params);
//详情baner
export const banenrInfo = (params: object) =>
  request.post('/dev-api/api/ManagerBanner/info', params);
//替换banner
export const replaceBannerApi = (params: object) =>
  request.post('/dev-api/api/ManagerBanner/changeBanner', params);
//删除banner
export const detaleApi = (params: object) =>
  request.post('/dev-api/api/ManagerBanner/delBanner', params);
//banner详情
export const bannerInfoApi = (params: object) =>
  request.post('/dev-api/api/ManagerBanner/info', params);
